package net.osweb.crm.modules.event.bean;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import static javax.persistence.GenerationType.IDENTITY;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * Taskstatus entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "event_taskstatus")
public class TaskStatus implements java.io.Serializable {

	// Fields

	/**
	 * 
	 */
	private static final long serialVersionUID = -6750597066893037327L;
	private Integer id;
	private String taskstatus;
	private Integer presence;
	private Integer picklistValueid;
	private String comment;

	// Constructors

	/** default constructor */
	public TaskStatus() {
	}

	/** minimal constructor */
	public TaskStatus(Integer presence, Integer picklistValueid) {
		this.presence = presence;
		this.picklistValueid = picklistValueid;
	}

	/** full constructor */
	public TaskStatus(String taskstatus, Integer presence,
			Integer picklistValueid, String comment) {
		this.taskstatus = taskstatus;
		this.presence = presence;
		this.picklistValueid = picklistValueid;
		this.comment = comment;
	}

	// Property accessors
	@Id
	@GeneratedValue(strategy = IDENTITY)
	@Column(name = "id", unique = true, nullable = false)
	public Integer getId() {
		return this.id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	@Column(name = "taskstatus", length = 200)
	public String getTaskstatus() {
		return this.taskstatus;
	}

	public void setTaskstatus(String taskstatus) {
		this.taskstatus = taskstatus;
	}

	@Column(name = "presence", nullable = false)
	public Integer getPresence() {
		return this.presence;
	}

	public void setPresence(Integer presence) {
		this.presence = presence;
	}

	@Column(name = "picklist_valueid", nullable = false)
	public Integer getPicklistValueid() {
		return this.picklistValueid;
	}

	public void setPicklistValueid(Integer picklistValueid) {
		this.picklistValueid = picklistValueid;
	}

	@Column(name = "comment")
	public String getComment() {
		return this.comment;
	}

	public void setComment(String comment) {
		this.comment = comment;
	}

}